import request from '@/utils/request'

const api = {
  // 查询权限树
  findPermissionTree: '/permission/findPermissionTree',
}

export default api

/***
 * @description 查询权限树
 * @param parameter
 * @returns {*}
 */
export function findPermissionTree (parameter) {
  return request({
    url: api.findPermissionTree,
    method: 'get',
    params: parameter
  })
}
